
date  >>/var/press.log
uptime >>/var/press.log
echo -ne "php:\t"  >>/var/press.log
netstat -an | grep 127.0.0.1:9000 | wc -l >>/var/press.log
echo -ne "mysql:\t"  >>/var/press.log
netstat -an | grep 127.0.0.1:3306 | wc -l >>/var/press.log
echo -ne "nginx:\t"  >>/var/press.log
netstat -an | grep :80 | wc -l >>/var/press.log
echo "">>/var/press.log

